/*
 * @Author: zhaiyujia
 * @Date: 2022-11-16 00:43:31
 * @LastEditors: zhaiyujia
 * @LastEditTime: 2022-11-21 22:14:01
 * @Description: pca test.
 *
 *                                   ----------------
 *             T2/ECI/SS/ADC2/P1.2--|1             20|--P1.1/ADC1/TxD2/CCP0
 *           T2CLKO/MOSI/ADC3/P1.3--|2             19|--P1.0/ADC0/RxD2/CCP1
 *           I2CSDA/MISO/ADC4/P1.4--|3             18|--P3.7/INT3/TxD_2/CCP2/CMP+
 *           I2CSCL/SCLK/ADC5/P1.5--|4             17|--P3.6/ADC14/INT2/RxD2/CCP1_2/CMP-
 *   XTALO/MCLKO_2/RxD_3/ADC6/P1.6--|5             16|--P3.5/ADC13/T1/T0CLKO/CCP0_2/SS_4
 *           XTALI/TxD_3/ADC7/P1.7--|6             15|--P3.4/ADC12/T0/T1CLKO/ECI_2/CMPO/MOSI_4
 *                  MCLKO/RST/P5.4--|7             14|--P3.3/ADC11/INT1/MISO_4/I2CSDA_4
 *                  VCC/AVCC/VREF+--|8             13|--P3.2/ADC10/INT0/SCLK_4/I2CSCL_4
 *                            P5.5--|9             12|--P3.1/ADC9/TxD
 *                  GND/AGND/VREF---|10            11|--P3.0/ADC8/RxD/INT4
 *                                   ----------------
 */

#include "Arduino.h"
void setup()
{
    Serial_begin(115200);
    delay(1500); // Wait for STC-ISP to open the serial port
    Serial_println("Hello Arduino-STC.");
    analogWrite(A0, 100);
    analogWrite(A1, 500);
    analogWrite(A2, 1000);
}
void loop()
{
}
